﻿using NHibernate;

namespace DAL.DAO
{
    public class RoleDAO
    {
        public static COM.DTO.Role GetRoleById(byte roleId)
        {
            using (ISession session = NHibernateHelper.OpenSession())
                return session.Get<COM.DTO.Role>(roleId);
        }
    }
}
